package com.wyq.jpa.dao;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.wyq.jpa.model.User;

public interface UserDao extends PagingAndSortingRepository<User, Long> {
	User findByLoginName(String loginName);
    User findByEmail(String email);
}
